import { createBrowserRouter, RouterProvider } from "react-router-dom";
import Home from "./components/home";
import My from "./components/My";
export default function App() {
  const router = createBrowserRouter([
    {
      path: "/Home",
      element: <Home />,
    },
    {
      path: "/My",
      element: <My />,
    },
  ]);
  return <RouterProvider router={router} />;
}
